package mju.cn.fourweek;



/**
 * @program: java-ee_31
 * @description:
 * @author: HP
 * @time: 2020/10/9 9:04
 */
public class JuiceMaker2 {
    private String beverageShop = null;
    private Source source=null;
//    public String mix(String water,String fruit,String sugar){
        public String makerJuice(){
        String juice= "这是一杯由："+ beverageShop +"\n饮品店，提供的："+ source.getSize()+"\n糖量："+source.getSize()+ source.getFruit();
        return juice;
    }
}
class Source{
    private String fruit;
    private String sugar;
    private String size;

    public String getFruit() {
        return fruit;
    }

    public void setFruit(String fruit) {
        this.fruit = fruit;
    }

    public String getSugar() {
        return sugar;
    }

    public void setSugar(String sugar) {
        this.sugar = sugar;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

}
